package com.gexin.app.request.question;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class QuestionDto {
    @JsonSerialize(using = ToStringSerializer.class)

    private Long id;
    private String question;
    private String answer;
    private String tips;
    @JsonSerialize(using = ToStringSerializer.class)

    private Long categoryId;
    private Integer difficulty;
}
